#ifndef COMPILER_ONLINE
#include "header.hpp"
#endif

void Test1()
{
    vector<int> v={1,2,3,4,5,6,7};
    int ret = Solution().FindMax(v);
    if (ret==7)
    {
        std::cout << "Test1 ok!" << std::endl;
    }
    else
    {
        std::cout << "测试用例: {1,2,3,4,5,6,7} 未通过" << std::endl;
    }
}
void Test2()
{
    vector<int> v={-1,1,2,3,4,5,6,7,9};

    int ret = Solution().FindMax(v);
    if (ret==9)
    {
        std::cout << "Test2 ok!" << std::endl;
    }
    else
    {
        std::cout << "测试用例: {-1,1,2,3,4,5,6,7,9} 未通过" << std::endl;
    }
}
int main()
{
    Test1();
    Test2();
    return 0;
}

